package realQuestion.didi;

import java.util.Scanner;

public class Main1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int[] c = new int[n];
        for (int i = 0; i < n; i++) {
            c[i]=scanner.nextInt();
        }
        System.out.println(find(a, b, c, n));

    }

    public  static   int find(int a,int b,int[] c,int n){
        int min=-1;
        boolean flag=true;
        int day=1;

        int curbag=0;

        while (flag){

            for (int i = 0; i < n; i++) {
                curbag+=(day*c[i])/b;
            }

            if (curbag==a){
                flag=false;
                return  day;
            }
curbag=0;
            day++;


        }

        return  min;
    }
}
